package com.ruoyi.common.security.feign;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import feign.RequestInterceptor;

/**
 * @author shusheng
 * @version V0.0.1
 * @CLassName
 * @Description Feign 配置注册
 * @Date 2023/10/30 15:15
 */
@Configuration
public class FeignAutoConfiguration
{
    @Bean
    public RequestInterceptor requestInterceptor()
    {
        return new FeignRequestInterceptor();
    }
}
